package tech.bmatch.redpack.param;

import tech.bmatch.redpack.model.CouponType;
import tech.bmatch.redpack.model.RedPackType;

import java.util.List;

/**
 * 红包创建模型
 *
 * @author: Awake
 * @date: 2018-11-02 17:18
 **/
public class CreateRedPackParam {
    /**
     * 商家ID
     */
    private String merchantId;
    /**
     * 红包类型
     */
    private RedPackType redPackType;
    /**
     * 优惠类型
     */
    private CouponType couponType;
    /**
     * 条件ID
     */
    private List<String> conditionIds;
    /**
     * 红包金额
     */
    private int amount;
    /**
     * 总金额，满足这个金额才优惠
     */
    private int totalAmount;
    /**
     * 有效期
     */
    private int validity;

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public RedPackType getRedPackType() {
        return redPackType;
    }

    public void setRedPackType(RedPackType redPackType) {
        this.redPackType = redPackType;
    }

    public CouponType getCouponType() {
        return couponType;
    }

    public void setCouponType(CouponType couponType) {
        this.couponType = couponType;
    }

    public List<String> getConditionIds() {
        return conditionIds;
    }

    public void setConditionIds(List<String> conditionIds) {
        this.conditionIds = conditionIds;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public int getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(int totalAmount) {
        this.totalAmount = totalAmount;
    }

    public int getValidity() {
        return validity;
    }

    public void setValidity(int validity) {
        this.validity = validity;
    }
}
